package com.petter.jvm.classLoadOrder;

/**
 * @author : GD
 * @date :2021/9/13 : 18:42
 */
public class Parent extends GrandParent{
    public Parent() {
        System.out.println("new Parent");
    }
    static {
        System.out.println("static Parent");
    }

    @Override
    public void show() {
        System.out.println("show Parent");
    }
}
